import request from '@/utils/request'

// 查询KOL分析记录列表
export function listSocialKolAnalysis(query) {
  return request({
    url: '/social/SocialKolAnalysis/list',
    method: 'get',
    params: query
  })
}

// 查询KOL分析记录详细
export function getSocialKolAnalysis(id) {
  return request({
    url: '/social/SocialKolAnalysis/' + id,
    method: 'get'
  })
}

// 新增KOL分析记录
export function addSocialKolAnalysis(data) {
  return request({
    url: '/social/SocialKolAnalysis',
    method: 'post',
    data: data
  })
}

// 修改KOL分析记录
export function updateSocialKolAnalysis(data) {
  return request({
    url: '/social/SocialKolAnalysis',
    method: 'put',
    data: data
  })
}

// 删除KOL分析记录
export function delSocialKolAnalysis(id) {
  return request({
    url: '/social/SocialKolAnalysis/' + id,
    method: 'delete'
  })
}
